package com.dhcc.sds.custom.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.dhcc.core.framework.result.node.ZTreeNode;
import com.dhcc.sds.custom.entity.SdsCusIndexHeaderEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 自定义病种指标配置
 *
 * @ClassName: SdsCusIndexHeaderMapper
 * @Description: TODO
 * @author yhw
 * @date 2024-07-01 10:10:53
 */
public interface SdsCusIndexHeaderMapper extends BaseMapper<SdsCusIndexHeaderEntity> {
    List<SdsCusIndexHeaderEntity> list(@Param("map") Map<String, Object> map);
    List<SdsCusIndexHeaderEntity> page(@Param("page") Page<SdsCusIndexHeaderEntity> page, @Param("map")Map<String, Object> map);

    List<ZTreeNode> tree(@Param("entityId") Long entityId, @Param("indexType") Integer indexType);

    List<Map<String, Object>> selectIndexHeader(@Param("map") Map<String, Object> params);

    List<SdsCusIndexHeaderEntity> selectParentIndexHeader(@Param("map") Map<String, Object> map);

    List<Map<String, Object>> selectImportantEntityHeader();

    List<SdsCusIndexHeaderEntity> selectImportantSecondaryHeader(@Param("map") Map<String, Object> params);
}
